/**
 * Created by 王景华 on 2020/12/21 5:14 下午.
 */

#include <stdio.h>
#include <inttypes.h>

int main(void){
    int16_t me16;
    me16 = 4593;
    printf("First assume int16_t is short:");
    printf("me16 = %hd\n", me16);
    printf("Next, let's not make any assumptions.\n");
    printf("Instead, use a \"macro\" from inttypes.h:");
    printf("me16=%" PRId16 "\n", me16);

    return 0;
}
